package com.lanqiao.testwork;

import java.util.Scanner;

public class Test15 {

	public static void main(String[] args) {
		//方法调用
		test();
	}

	/**
	 * 比较三个数大小
	 */
	private static void test() {
		Scanner sc = new Scanner(System.in);
		int x = sc.nextInt();
		int y = sc.nextInt();
		int z = sc.nextInt();
		if(x > y) {
			if(x>z)
				System.out.println(x);
			else
				System.out.println(z);
		}else {
			if(y>z)
				System.out.println(y);
			else
				System.out.println(z);
		}
		
	}

}
